package com.alex.space.commons.tree;

/**
 * @author Alex
 * Created by Alex on 2018/3/14.
 */
public class TreeTest {

	public static void main(String[] args) {
		AVLTree tree = new AVLTree();
		tree.add(1);
		tree.add(2);
		tree.add(0);

		TreeUtils.inOrderReverse(tree.root);

		tree.remove(2);

		TreeUtils.inOrderReverse(tree.root);
	}

}
